export default class Util {
    static checkFavorite(item, items) {
        if (!items) {
            return false
        }
        let index = items.indexOf(item.id.toString())
        if (index === -1) {
            return false
        } else {
            return true
        }
    }
}